package com.patterns.java.bridge;

/**
 * 桥接模式入口
 * @author 三多
 * @Time 2021/10/14
 */
public class BridgeDemo {
    public static void main(String[] args) {
        Circle redCircle = new Circle(100, 10, 10, new RedCircle());
        Circle greenCircle = new Circle(100, 10, 10, new GreenCircle());
        redCircle.draw();
        greenCircle.draw();
    }
}
